package com.dd.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration //定义为配置类
@ComponentScan({"com.dd.dao","com.dd.service"}) //扫描包
@PropertySource(value = {"classpath:order.properties"},encoding = "UTF-8") //配置properties文件
public class SpringConfig {

}
